﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace ARchGL.Platform.Electrocar.Core
{
    /// <summary>
    /// 车型（项目） 数据实体
    /// </summary>
    [Table("ev_projects")]
    public class Projects : EntitySoftDeleteBase, ICreationAudited
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 代号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 是否标记为模版
        /// </summary>
        public bool IsTemplate { get; set; }
        /// <summary>
        /// 车型级别
        /// </summary>
        public int Level { get; set; }
        /// <summary>
        /// 整车结构
        /// </summary>
        public int Structure { get; set; }
        /// <summary>
        /// 燃油类型
        /// </summary>
        public int Category { get; set; }
        /// <summary>
        /// 项目图片
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 厂家
        /// </summary>
        public Guid? CompanyId { get; set; }
        /// <summary>
        /// 厂家名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// SOP（Start of production）时间
        /// </summary>
        public DateTime SOPTime { get; set; }
        /// <summary>
        /// 整备质量（kg）
        /// </summary>
        public double Weight { get; set; }
        /// <summary>
        /// 百公里油耗（L/100km）
        /// </summary>
        public double FuelConsumptionOf100Kilometer { get; set; }
        /// <summary>
        /// 百公里加速度（单位：S）
        /// </summary>
        public double ZeroTO100AccelerationCapability { get; set; }
        /// <summary>
        /// 最高车速（单位：km/h）
        /// </summary>
        public double MaximumSpeed { get; set; }
        /// <summary>
        /// 最大爬坡度（单位：°）
        /// </summary>
        public double MaximumGradeability { get; set; }
        /// <summary>
        /// 发动机描述
        /// </summary>
        public string EngineDescription { get; set; }
        /// <summary>
        /// 变速箱描述
        /// </summary>
        public string GearboxDescription { get; set; }
        /// <summary>
        /// 部件总数
        /// </summary>
        public int PartCount { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public Guid CategoryId { get; set; }
        /// <summary>
        /// 生产年份
        /// </summary>
        public DateTime Date { get; set; }
        /// <summary>
        /// 创建人标识
        /// </summary>
        public long? CreatorUserId { get; set; }
    }
}
